const express = require('express');
const router = express.Router();
const {allList} = require('../public/javascripts/good')
const db = require('../db')
const {v4: uuidv4} = require('uuid');
router.post('/list', (req, res) => {
  // 执行定义好的登录函数
  const uniqueCode = uuidv4()
  console.log(uniqueCode);
  allList(req, res)
});


module.exports = router;
